

<div class="panel panel-primary">
      <div class="panel-heading">
            <h3 class="panel-title">搜索框</h3>
      </div>
      <div class="panel-body form-inline">
            <label>
                <input type="text" placeholder="输入要输入的内容" class="form-control" [(ngModel)]="serchWords"/>
            </label>
            <label>
                    <input type="button" value="搜索" class=" btn btn-primary " (click)="search()" />
            </label>
           
      </div>
</div>
<span *ngFor="let item of serchList;let key=index">
        <input type="button" [value]="item" class="btn btn-default" (click)="delete(key)"/>
</span>

<hr/>
